﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GtsServer.Model;
using System.Collections.Concurrent;

namespace GtsServer.Service.Index.DAL
{
    public class UserIndex
    {
        public static ConcurrentDictionary<int, User> userList = new ConcurrentDictionary<int, User>();

        /// <summary>
        /// key：用户的imsi+mac  value：用户id
        /// </summary>
        public static ConcurrentDictionary<string, int> userImsimacList = new ConcurrentDictionary<string, int>();
        /// <summary>
        /// key：userinfoID  value：userprizeID
        /// </summary>
        public static ConcurrentDictionary<int, ConcurrentHashSet<int>> userInfoIDUserPrizeList = new ConcurrentDictionary<int, ConcurrentHashSet<int>>();
        /// <summary>
        /// key：userid  value：taskUserID
        /// </summary>
        public static ConcurrentDictionary<int, ConcurrentHashSet<int>> userIDTaskUserIDList = new ConcurrentDictionary<int, ConcurrentHashSet<int>>();
    }
}
